package org.jeecg.modules.cusstyle.entity;

import java.io.Serializable;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 配件资料
 * @Date:   2021-09-13
 * @Version: V1.0
 */
@ApiModel(value="style_accessory_info对象", description="配件资料")
@Data
@TableName("style_customer_accessory_info")
public class CusStyleAccessoryInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    
	/**配件编号*/
	@Excel(name = "配件编号", width = 15)
    @ApiModelProperty(value = "配件编号")
    private java.lang.String accessoryNum;
	
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private java.lang.String name;
	
	/**规格*/
	@Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private java.lang.String style;
	
	/**类别*/
	@Excel(name = "类别", width = 15, dictTable = "accessory_category", dicText = "cate_name", dicCode = "id")
    @ApiModelProperty(value = "类别")
	@Dict(dictTable = "accessory_category", dicText = "cate_name", dicCode = "id")
    private java.lang.String cateName;
	
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.lang.String count;
	
	/**计重方式*/
	@Excel(name = "计重方式", width = 15, dicCode = "count_weight_pattern")
    @ApiModelProperty(value = "计重方式")
	@Dict(dicCode = "count_price_pattern")
    private java.lang.String countWeightPattern;
	
	/** 计耗*/
	@Excel(name = " 计耗", width = 15, dicCode = "yn")
    @ApiModelProperty(value = " 计耗")
	@Dict(dicCode = "yn")
    private java.lang.String isAttrition;
	
	/**单价*/
	@Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private java.lang.String unitPrice;
	
	/**总工价*/
	@Excel(name = "总工价", width = 15)
    @ApiModelProperty(value = "总工价")
    private java.lang.String labourTotalCost;
	
	/**单重*/
	@Excel(name = "单重", width = 15)
    @ApiModelProperty(value = "单重")
    private java.lang.String unitWeight;
	
	/**总重*/
	@Excel(name = "总重", width = 15)
    @ApiModelProperty(value = "总重")
    private java.lang.String totalWeight;
	
	/**计价方式*/
	@Excel(name = "计价方式", width = 15, dicCode = "count_price_pattern")
    @ApiModelProperty(value = "计价方式")
	@Dict(dicCode = "count_price_pattern")
    private java.lang.String countPricePattern;
	
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private java.lang.String per;
	
	/**成色*/
	@Excel(name = "成色", width = 15, dicCode = "id",dicText = "gold_karat_name",dictTable = "gold_karat")
    @ApiModelProperty(value = "成色")
	@Dict(dicCode = "id",dicText = "gold_karat_name",dictTable = "gold_karat")
    private java.lang.String karat;
	
	/**属性*/
	@Excel(name = "属性", width = 15)
    @ApiModelProperty(value = "属性")
    private java.lang.String attribute;
	
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
    
    /**款号*/
	@Excel(name = "款号", width = 15, dicCode = "id",dicText = "code_num",dictTable = "style_customer_info")
    @ApiModelProperty(value = "款号")
	@Dict(dicCode = "id",dicText = "code_num",dictTable = "style_customer_info")
    private java.lang.String styleCustomerInfoId;
    
    /**形状*/
	@Excel(name = "形状", width = 15, dicCode = " shape")
    @ApiModelProperty(value = "形状")
	@Dict(dicCode = "shape")
    private java.lang.String shape;
	
	/**长度*/
	@Excel(name = "长度", width = 15)
    @ApiModelProperty(value = "长度")
    private java.lang.String len;
	
	/**是否客来*/
	@Excel(name = "是否客来", width = 15, dicCode = " yn")
	@ApiModelProperty(value = "是否客来")
	@Dict(dicCode = "yn")
	private java.lang.String isFromCus;
}
